-- GENERATED SPELL FOR [Southsea Brigand] --


function spell0_3381(pUnit, Event) --@Backhand,n/a--
pUnit:FullCastSpellOnTarget(6253,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3381', 2252, 1)
end

function Sorts_3381(pUnit, Event)
local choix_sorts_3381 = math.random(0, 0)
if choix_sorts_3381 == 0 then
pUnit:RegisterEvent('spell0_3381', 1, 1)
end
end

function mob3381_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3381', math.random(1500, 3000), 1)
end

function mob3381_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3381_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3381_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3381, 1, 'mob3381_Action')
RegisterUnitEvent(3381, 2, 'mob3381_Leave')
RegisterUnitEvent(3381, 3, 'mob3381_Kill')
RegisterUnitEvent(3381, 4, 'mob3381_Die')
